package one.stand.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author: QIK
 * @CreateDate: 2019/4/29 10:41
 */
@Component
@Data
@RefreshScope
public class WxUrlConfig {
    /**
     * 微信登陆连接
     */
    @Value("${wx.url}")
    private String wxLogin;
    /**
     * 微信太阳码连接
     */
    @Value("${wx.two_code}")
    private String wxCodeUrl;
    /**
     * pc二维码连接
     */
    @Value("${wx.pc.login_img_url}")
    private String loginImgUrl;
    /**
     * pc登陆code验证连接
     */
    @Value("${wx.pc.login_oauth2_url}")
    private String loginOauth2Url;

    /**
     * 支付回掉
     */
    @Value("${wxpay.notifyUrl}")
    private String notifyUrl;
    /**
     * 退款回调
     */
    @Value("${wxpay.refundUrl}")
    private String refundUrl;
    /**
     * crmPC支付回调
     */
    @Value("${wxpay.crmPcBackUrl}")
    private String crmPcBackUrl;
    /**
     * H5支付信息：WAP网站URL地址
     */
    @Value("${wxpay.wapUrl}")
    private String wapUrl;

}
